package com.patterns.factory.simpleFactory;

/**
 * Created by Xiao Yiyun on 2017/4/13.
 */
public class Client {

    public static void main(String[] args) {

        Product product = SimpleFactory.create(ConcreteProduct1.class);
        product.method1();
        product.method2();
    }
}
